package sfy.md.behavior.state.candymachinedemo;

public class Client {

    public static void main(String[] args){
           CoinMachine coinMachine = new CoinMachine();
           coinMachine.setCoinState(new BadState());
           coinMachine.zhua();
           coinMachine.insertCoin(20);
    }
}
